package tech.aistar.service;

import tech.aistar.entity.Message;
import tech.aistar.mapper.MessageMapper;

import java.util.List;

public interface IMessageService {
    List<Message> selectAll(Integer registerId);

    int deleteById(Integer id);

    int updateStateById(Integer id);

    List<Message> selectByState(Integer registerId);

    int insertAll(Message message);
}
